﻿using PTTK_HTTT_06.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PTTK_HTTT_06.BUS
{
    public class DON_DAT_HANG
    {
        public int MaDonDatHang { get; set; }
        public int MaNhanVien { get; set; }
        public DateTime NgayLap { get; set; }
        public DateTime NgayGiao { get; set; }
        public double TongTien { get; set; }
        public int TinhTrang { get; set; }

        public static void ThemDonDatHang(DON_DAT_HANG _ddh)
        {
            DON_DAT_HANG_DB.ThemDonDatHang(_ddh);
        }

        internal static int LayMaDonDatHang()
        {
            return DON_DAT_HANG_DB.LayMaDonDatHang();
        }
    }
}
